package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.dto.MerchantDTO;
import com.huiminpay.merchant.vo.MerchantRegisterVo;
import com.huiminpay.merchant.vo.MerchantVo;
import org.mapstruct.factory.Mappers;

@org.mapstruct.Mapper
public interface MerchantCovert {


    MerchantCovert INSTANCE = Mappers.getMapper(MerchantCovert.class);

    MerchantDTO regMvo2dto(MerchantRegisterVo vo);

    MerchantRegisterVo dto2regMvo(MerchantDTO dto);

    MerchantDTO vo2dto(MerchantVo vo);

    MerchantVo dto2vo(MerchantDTO dto);
}
